package com.qf.java2201.pojo;



public class HUser implements java.io.Serializable {

	// Fields

	private Integer uuid;   // 用户 编号
	private String uname;   // 用户姓名
	private String upwd;    // 用户密码

	private Integer rid;    // 角色id


	// 临时变量   为了封装数据
	private HUserinfo ui;

	// Constructors

	public HUser() {
	}

	public HUser(Integer uuid) {
		this.uuid = uuid;
	}

	/** full constructor */
	public HUser(Integer uuid, String uname, String upwd, Integer rid) {
		this.uuid = uuid;
		this.uname = uname;
		this.upwd = upwd;
		this.rid = rid;
	}

	// Property accessors

	public Integer getUuid() {
		return this.uuid;
	}

	public void setUuid(Integer uuid) {
		this.uuid = uuid;
	}

	public String getUname() {
		return this.uname;
	}

	public void setUname(String uname) {
		this.uname = uname;
	}

	public String getUpwd() {
		return this.upwd;
	}

	public void setUpwd(String upwd) {
		this.upwd = upwd;
	}

	public Integer getRid() {
		return this.rid;
	}

	public void setRid(Integer rid) {
		this.rid = rid;
	}

	public HUserinfo getUi() {
		return ui;
	}

	public void setUi(HUserinfo ui) {
		this.ui = ui;
	}

	@Override
	public String toString() {
		return "HUser{" +
				"uuid=" + uuid +
				", uname='" + uname + '\'' +
				", upwd='" + upwd + '\'' +
				", rid=" + rid +
				", ui=" + ui +
				'}';
	}
}